package com.cnyz.service;

import cn.hutool.db.PageResult;
import com.cnyz.base.PageResponse;
import com.cnyz.dto.ExamDto;
import com.cnyz.vo.ExamVo;

public interface ExamService {

    public int addExam(ExamDto examDto);

    public PageResponse<ExamVo> getExamPage(Integer pageNum, Integer pageSize, String name);

    public void deleteExam(Long id);

    public void setPaperToExam(Long id, Long paperId);
}
